package lib.bone.flow.service;

import lib.bone.common.core.domain.PageResultDTO;
import lib.bone.common.core.domain.ResponseDTO;
import lib.bone.common.service.BaseService;
import lib.bone.flow.domain.dto.FlowDefineAddDTO;
import lib.bone.flow.domain.entity.FlowDefine;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Pageable;

import java.util.Optional;

public interface FlowDefineService extends BaseService<FlowDefine,String> {

    /**
     * 根据定义编码查询
     * @param defineCode
     * @return
     */
    Optional<FlowDefine> getByDefineCode(String defineCode);


}
